package com.victor.pomelo.model;

import com.fasterxml.jackson.annotation.JsonUnwrapped;

public class Node {
	private Integer level;
	@JsonUnwrapped
	private Object obj;

	@Override
	public String toString() {
		return "Node [level=" + level + ", obj=" + obj + ", getLevel()="
				+ getLevel() + ", getObj()=" + getObj() + ", getClass()="
				+ getClass() + ", hashCode()=" + hashCode() + ", toString()="
				+ super.toString() + "]";
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	@JsonUnwrapped
	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}
}
